lcResponse.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 1998 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 
00008 
00009 #pragma once
00010 
00011 #include "lcCommand.h"
00012 
00013 typedef const char* (*DtDomainToStringFunc)(int domain);
00014 typedef const char* (*DtCommandToStringFunc)(int domain, int command);
00015 
00019 class DT_DLL_LOGGERCONTROL DtLgrResponsePdu : public DtLgrCommandPdu
00020 {
00021 public:
00022 
00024    DtLgrResponsePdu( DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
00025 
00027    DtLgrResponsePdu( const DtNetLgrControlPdu* initial,
00028       DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
00029 
00031    DtLgrResponsePdu( const DtEntityIdentifier& sender,
00032       const DtEntityIdentifier& receiver, int commandDomain, int commandProtocol,
00033       int commandId, const DtString& parametersBuffer, int pduSize=theCommandPduSize,
00034       DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
00035 
00037    virtual ~DtLgrResponsePdu();
00038 
00040    DtLgrResponsePdu( const DtLgrResponsePdu& src );
00041 
00043    DtLgrResponsePdu& operator=( const DtLgrResponsePdu& src );
00044 
00046    virtual void printDataToStream(std::ostream& stream) const;
00047 
00048 };

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)