![]() |
VR-Forces 5.0.2 Developer's Guide
|
Admin content that is used to ask a behavior to start producing graphical output and sending it back (in a behaviorGraphAdminContent).
Admin content that is used to ask a single scripted task, or all running scripted tasks, to either 1) indicate whether they can produce graphs, or 2) start producing graphical output and sending it back (in a behaviorGraphAdminContent). This message is also used to end production and transmission of graph information.

Public Types | |
| enum | GraphRequestType { DtGraphCapableQuery, DtGenerateGraphRequest } |
Public Member Functions | |
| DtRequestBehaviorGraphAdminContent () | |
| DtRequestBehaviorGraphAdminContent (const DtRequestBehaviorGraphAdminContent &orig) | |
| const DtRequestBehaviorGraphAdminContent & | operator= (const DtRequestBehaviorGraphAdminContent &orig) |
| virtual | ~DtRequestBehaviorGraphAdminContent () |
| virtual bool | init () |
| virtual const DtAdminContentMessageType & | type () const |
| virtual GraphRequestType | graphRequestType () const |
| virtual void | setGraphRequestType (const GraphRequestType requestType) |
| virtual bool | graphOutputEnabled () const |
| virtual void | setGraphOutputEnabled (bool b) |
| virtual DtSimTaskMessageType | taskType () const |
| virtual void | setTaskType (DtSimTaskMessageType taskType) |
| virtual DtAdminContent * | clone () const |
| virtual DtString | stringRep () const |
| virtual int | netRepSize () const |
| virtual bool | setFromNet (const char *contentBuffer, unsigned contentSize) |
| virtual bool | setToNet () |
Public Member Functions inherited from DtAdminContent | |
| virtual | ~DtAdminContent () |
| virtual char * | netRep () |
Static Public Member Functions | |
| static DtAdminContent * | create () |
Static Public Member Functions inherited from DtAdminContent | |
| static void | addAdminContentCreatorFcn (const DtAdminContentMessageType &contentName, DtAdminContentCreatorFcn fcn) |
| static void | setFactory (DtAdminContentFactory *factory) |
| static DtAdminContentFactory * | factory () |
| static bool | isTypeRegistered (const DtAdminContentMessageType &type) |
Protected Attributes | |
| GraphRequestType | myRequestType |
| DtSimTaskMessageType | myTaskType |
| bool | myGraphOutputEnabled |
Protected Attributes inherited from DtAdminContent | |
| char * | myNetRep |
Additional Inherited Members | |
Protected Member Functions inherited from DtAdminContent | |
| DtAdminContent () | |
| DtAdminContent (const DtAdminContent &orig) | |
| const DtAdminContent & | operator= (const DtAdminContent &orig) |
| virtual char * | createNetworkBuffer () |
Static Protected Attributes inherited from DtAdminContent | |
| static DtAdminContentFactory * | myFactory |
| DtRequestBehaviorGraphAdminContent::DtRequestBehaviorGraphAdminContent | ( | ) |
default constructor
| DtRequestBehaviorGraphAdminContent::DtRequestBehaviorGraphAdminContent | ( | const DtRequestBehaviorGraphAdminContent & | orig | ) |
copy constructor
|
virtual |
destructor
| const DtRequestBehaviorGraphAdminContent& DtRequestBehaviorGraphAdminContent::operator= | ( | const DtRequestBehaviorGraphAdminContent & | orig | ) |
assignment operator; same as copy costructor.
|
static |
Creator function. Returns new instance of this class.
|
virtual |
Call after construction.
Reimplemented from DtAdminContent.
|
virtual |
Implements DtAdminContent.
|
virtual |
Indicates whether this is a request to indicate whether graphing is available,
or to start/stop producing graphs. {@
|
virtual |
|
virtual |
If the request type is DtGraphCapableQuery, then this field is ignored in the message. If the query type is DtGenerateGraphRequest, this field turns on or off the production of the graph (and transmission via a response message).
|
virtual |
|
virtual |
Identifies which task to create the graph for. If blank, then all tasks should create graphs.
|
virtual |
|
virtual |
Make a copy of this content. Returns a pointer to a newly created copy of this class.
Implements DtAdminContent.
|
virtual |
Get a readable string representation of this content.
Implements DtAdminContent.
|
virtual |
Reimplemented from DtAdminContent.
|
virtual |
Decodes content from buffer.
Reimplemented from DtAdminContent.
|
virtual |
Encodes content into buffer.
Reimplemented from DtAdminContent.
|
protected |
|
protected |
|
protected |