VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
adminLogObjectConsoleToFile.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #include "vrftasks/adminContent.h"
14 #include <vlutil/vlString.h>
16 
20 {
21 public:
22 
25 
28 
32 
35 
37  static DtAdminContent* create();
38 
40  virtual bool init();
41 
43  virtual const DtAdminContentMessageType& type() const;
44 
46 
47  virtual void setLogFilename(const DtString& filename);
48  virtual DtString logFilename() const;
50 
53  virtual DtAdminContent * clone() const;
54 
56  virtual DtString stringRep() const;
57 
59  virtual int netRepSize() const;
60 
62  virtual bool setFromNet(const char* contentBuffer,
63  unsigned contentSize);
64 
66  virtual bool setToNet();
67 
68 protected:
70 };
71 
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Sets the contents of this set request based on the network buffer.
virtual int netRepSize() const
virtual DtAdminContent * clone() const =0
Make a copy of this content.
Definition: vrfObjectMessageTypeTemplate.h:24
DtString myLogFilename
Definition: adminLogObjectConsoleToFile.h:69
const DtAdminContent & operator=(const DtAdminContent &orig)
assignment operator; same as copy costructor.
Admin content which indicates that a VRF Object should start logging the output of its object console...
Definition: adminLogObjectConsoleToFile.h:19
#define DT_DLL_vrftasks
This file is used to determine how to build.
Definition: vrftasksDefines.h:26
virtual bool init()
Base class init does nothing, but this will be called by create, in case any other deriving class nee...
DtAdminContent.
Definition: adminContent.h:24
virtual const DtAdminContentMessageType & type() const =0
virtual bool setToNet()
Sets netRep buffer to the contents of this set request.
virtual DtString stringRep() const =0
Get a readable string representation of this content.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)